package com.zhangpu.feign.service;

import com.zhangpu.feign.inteface.IFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: zhangpu
 * @License: (C) Copyright hualala.com Corporation Limited.
 * @Contact: zhangpu@hualala.com
 * @Date: 2021.07.19 19:40
 * @Version: 1.0
 * @Description:
 * @ProjectName: spring-cloud-eureka
 */

@Service
public class FeignService  {

    @Autowired
    private IFeignService iFeignService;

    /**
     * 获取信息
     * @param name
     * @return
     */
    public String getInfo(String name){
        return iFeignService.getSpringCloudInfo(name);
    }
}